package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Comment extends BaseDomain{

    private Long strategyId; //被评价的攻略id

    private Integer level; // 几星好评

    private User user; //评价用户id

    private String commentText; //评价正文

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date time; //评价时间

    private List<B> imgUrls; //点评的图片

    private String strategyImg; //被评价的攻略封面

    private String strategyTitle; //被评价攻略标题
}